package org.dsapr;

import org.dsapr.util.ThreadUtil;

public class Playground {
	private Grid grid;
	public static int width;
	public static int height;

	public Playground(int width, int height) {
		Playground.width = width;
		Playground.height = height;
	}

	public void start() {
		this.grid.draw();
		ThreadUtil.sleep(150L);
		this.grid.refresh();
	}

	public void setGrid(Grid grid) {
		this.grid = grid;
	}
}
